package com.rs.qm.modules.sys.service;

import com.baomidou.mybatisplus.service.IService;
import com.rs.qm.common.utils.PageUtils;
import com.rs.qm.modules.sys.entity.SysBusinessCategoryEntity;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 行业分类表
 *
 * @author GuoXunMin
 * @email v450625169@126.com
 * @date 2019-12-27 16:38:06
 */
public interface SysBusinessCategoryService extends IService<SysBusinessCategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 获取所有行业分类信息
     * {"科技类":{"网络科技","生物制药","人工智能"},"服务类":{"餐饮","外卖"}}
     * @return Map<String, Set<String>>
     */
    Map<String, Set<String>> queryAllCategory();

}

